package com.kundi.dooradmin.entity;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Arrays;

/**
 * Author 赵恒
 * Date 2020/7/10
 */
@Table(name = "tb_team")
public class Team {
    @Id
    private Integer id;
    private String title;
    private String name;
    private String position;
    private String content;
    private byte[] image;

    @Override
    public String toString() {
        return "Team{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", name='" + name + '\'' +
                ", position='" + position + '\'' +
                ", content='" + content + '\'' +
                ", image=" + Arrays.toString(image) +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public byte[] getImage() {
        return image;
    }

    public void setImage(byte[] image) {
        this.image = image;
    }
}
